home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 248_01 / cclddict.ksh < prev    next >
Text File  |  1989-08-16  |  512b  |  22 lines

  1. :
  2. #    name:        cclddict.ksh
  3. #    purpose:    Compile large model
  4. #
  5. if [ ! -f $1.c ]
  6. then
  7.     echo "Usage: $0 csource"
  8.     echo "The csource must exist in this directory"
  9.     echo "You must not define a file extension (.c)"
  10.     exit 1
  11. fi
  12. rm -f $1.exe
  13. rm -f $1.lst
  14. rm -f $1.map
  15. export INCLUDE="D:\INCLUDE;D:\INCLUDE\SYS;"
  16. export LIB="D:\LIB"
  17. export TMP="D:\TMP"
  18. cl -c -AL -Fs -W2 $1.c
  19. link /st:10000 $1+mdict+file, /noi, $1, llibce
  20. rm -f $1.obj
  21. exit 0
  22.